import sys
import os

# 获取项目根目录
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
# 将项目根目录添加到系统路径
sys.path.append(project_root)

from UI.main_window import main_window

if __name__ == "__main__":
    main_window()